* {
    margin: 0;
    padding: 0;
    user-select: none;
    list-style: none;
}

body {
    background-color: rgba(228, 228, 15, 0.842);
}

.box {
    margin: 250px auto;
    width: 200px;
    height: 200px;
    position: relative;
    
}

.hide {
    overflow: hidden;
    position: relative;
    height: 60px;
    width: 200px;
}

.sun {
    position: absolute;
    left: calc(50% - 25px);
    animation: sun 2.7s ease-in-out infinite;
}

@keyframes sun {
    0% { top: 40px; }
    10% { top: 40px; }
    40% { top: 15px; }
    70% { top: 15px; }
    100%{top: 40px; }
}

.sun-body {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid brown;
    position: relative;
    animation: sun-rotate 2.7s linear infinite;
   
}
@keyframes sun-rotate {
    0%{ transform: rotate(0); }
    40%{ transform: rotate(0); } 
    50%{ transform: rotate(45deg); } 
    60%{ transform: rotate(45deg); } 
    100%{ transform: rotate(45deg); } 
}

.sun-line {
    position: absolute;
    width : 8px;
    height: 3px;
    background-color: brown;
    border-radius: 2px / 50%;
    left: calc(50% - 4px);
    top : calc(50% - 1.5px);
}

.eyes {
    position: absolute;
    width: 30px;
    height: 10px;
    top: 16px;
    animation: eyes 2.7s linear infinite;
}

@keyframes eyes {
    0%{ left: 8px;}
    50%{ left: 8px;transform: scale(1,1);}
    55%{ left: 8px;transform: scale(1,0.1);}
    60%{ left: 8px;transform: scale(1);}
    70%{ left: 18px;}
    100%{left: 18px;}
}

.eyes::before ,.eyes::after{
    content: '';
    display: block;
    float: left;
    margin: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: brown;
}



.loading {
    width: 200px;
    height: 50px;
    text-align: center;
}

.loading::before {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 3px / 50%;
    background-color: brown;
}

.loading i {
    color: brown;
    line-height: 50px;
    animation: loading 2.7s ease-in-out infinite;
}

@keyframes loading {
    0%,100% {opacity: 0;}
    50% {opacity: 1;}
}
